#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from sqlmodel import Field, SQLModel

from database.base import BaseModel

class User(BaseModel, table=True):
    username: str = Field(default="", nullable=False, index=True, unique=True, description="用户名")
    password: str = Field(default="", nullable=False, description="密码")